﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="kecheng_zhongshen.aspx.cs" Inherits="kecheng_zhongshen" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">  
    <table style="width: 872px" class="table_border">
        <tr>
            <td style="width: 100px" class="font33">
                <asp:Label ID="Label3" runat="server" Text="等待终审的课程" Width="100px"></asp:Label>
                <asp:GridView
                    ID="GridView4" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
                    CellPadding="4" DataKeyNames="id" DataSourceID="SqlDataSource4" 
                    GridLines="Vertical" OnRowCommand="GridView2_RowCommand" OnRowDataBound="GridView2_RowDataBound"
                    PageSize="6" Width="800px" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="0px" cssclass="font33">
                    <Columns>
                        <asp:BoundField HeaderText="编号" />
                        <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                            SortExpression="id" Visible="False" />
                        <asp:TemplateField HeaderText="课程名称">
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#Eval("id")%>'
                                    Text='<%# Eval("name", "{0}") %>' Width="360px"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="kechenglx" HeaderText="课程类型" SortExpression="kechenglx" />
                        <asp:BoundField DataField="laoshi" HeaderText="老师" SortExpression="laoshi" />
                        <asp:BoundField DataField="jigou" HeaderText="机构" SortExpression="jigou" />
                        <asp:BoundField DataField="xuefei" HeaderText="学费" SortExpression="xuefei" />
                    </Columns>
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <HeaderStyle BackColor="#D9EDB2" Font-Bold="True" ForeColor="Black"  Height="25px"/>
                    <FooterStyle BackColor="#CCCC99" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT [id], [name],[laoshi],[jigou],[kechenglx],[xuefei] FROM [kecheng] WHERE (([confirm] = @confirm1) OR (([confirm] = @confirm) AND([jigou] = '远程教育平台'))) ORDER BY [xtsj2] DESC">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="提交" Name="confirm" Type="String" />
                        <asp:Parameter DefaultValue="审核通过" Name="confirm1" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>       
    </table>
</form>
</body>
</html>
